package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.GroupBuyInfo;
import com.ytjj.qmyx.mall.model.GroupBuyInfoExample;
import java.util.List;

import com.ytjj.qmyx.mall.model.ProcessGroupBuyListResponse;
import org.apache.ibatis.annotations.Param;

public interface GroupBuyInfoMapper {
    long countByExample(GroupBuyInfoExample example);

    int deleteByExample(GroupBuyInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GroupBuyInfo record);

    int insertSelective(GroupBuyInfo record);

    List<GroupBuyInfo> selectByExample(GroupBuyInfoExample example);

    GroupBuyInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GroupBuyInfo record, @Param("example") GroupBuyInfoExample example);

    int updateByExample(@Param("record") GroupBuyInfo record, @Param("example") GroupBuyInfoExample example);

    int updateByPrimaryKeySelective(GroupBuyInfo record);

    int updateByPrimaryKey(GroupBuyInfo record);

    List<ProcessGroupBuyListResponse> queryProcessGroupBuyList(Integer productId);
}